package ycl.time.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import ycl.common.result.Result;
import ycl.common.models.base.A;
import ycl.time.feign.fallback.MessageFeignFallback;

/**
 * 远程调用: 消息服务
 *
 * @author ycl
 * @date 2022/6/18 0018 11:11:39
 */
@FeignClient(
		value = "ycl-message",
		configuration = MessageFeignFallback.class
)
public interface MessageFeign {


	@GetMapping("/email/clearGetEmailCount")
	Result<A> clearGetEmailCount();
}
